package com.april.common.constant;

/**
 * @Package : com.april.constants
 * @Author : xz
 * @Date : 2023-02-12 20:39
 * @Desc :
 */
public class SystemConstants
{
    /**
     *  文章是草稿
     */
    public static final int ARTICLE_STATUS_DRAFT = 1;
    /**
     *  文章是正常分布状态
     */
    public static final int ARTICLE_STATUS_NORMAL = 0;
    /**
     *  文章的分页
     */
    public static final int ARTICLE_PAGE = 10;
    /**
     * 文章当前页
     */
    public static final int ARTICLE_INDEX = 1;
    /**
     * 文章是正常发布状态
     */
    public static final String ARTICLE_NORMAL = "0";
    /**
     * 友链状态为审核通过
     */
    public static final String  LINK_STATUS_NORMAL = "0";
    /**
     *存入Redis的key,前台
     */
    public static final String REDIS_KEY = "blogLogin:";
    /**
     *存入Redis的key,前台
     */
    public static final String REDIS_ADMIN_KEY = "login:";
    /**
     * 文章浏览量的key
     */
    public static final String REDIS_ARTICLE_KEY = "article:viewCount";
    /**
     *是否位根评论
     */
    public static final Long COMMENT_PARENT = -1L;
    /**
     * 评论类型为文章评论
     */
    public static final String ARTICLE_COMMENT = "0";
    /**
     *评论类型为友链评论
     */
    public static final String LINK_COMMENT = "1";
    /**
     *
     *是否存在评论
     */
    public static final Long CHILE_COMMENT = -1L;
    /**
     * 文件类型是否为图片
     */
    public static final Integer IMG_TYPE = 1;
    /**
     * 正常状态
     */
    public static final String NORMAL = "0";
    /**
     * 菜单标识
     */
    public static final String MENU_LIST = "C";
    /**
     * 管理标识
     */
    public static final String MANAGE_LIST = "M";
    /**
     * 菜单正常状态
     */
    public static final String MENU_STATUS = "0";
    /**
     * 按钮标识
     */
    public static final String  BUTTON_LIST = "F";
    /**
     * 菜单根目录id
     */
    public static final Long ROOT_ID = 0L;
    /**
     * 系统管理员
     */
    public static final String SYSTEM_ADMIN = "1";
    /**
     * 角色正常状态
     */
    public static final String ROLE_STATUS = "0";
}
